<?php

/**
 * 格式固定，变量名固定
 */
$parentid = $menu_db->add_menu(array('name'=>'manage', 'parentid'=>0, 'm'=>'', 'c'=>'', 'a'=>'', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_view_all', 'parentid'=>$parentid, 'm'=>'Manage', 'c'=>'Admin', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'0', 'isshow'=>1));

//手机端管理
$phone = $menu_db->add_menu(array('name'=>'manage_mobile_admin', 'parentid'=>1602, 'm'=>'', 'c'=>'', 'a'=>'', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_mobile_admin_index', 'parentid'=>$phone, 'm'=>'Manage', 'c'=>'AdminMobileAdmin', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_mobile_admin_all', 'parentid'=>$phone, 'm'=>'Manage', 'c'=>'AdminMobileAdmin', 'a'=>'get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_mobile_admin_add', 'parentid'=>$phone, 'm'=>'Manage', 'c'=>'AdminMobileAdmin', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_mobile_admin_edit', 'parentid'=>$phone, 'm'=>'Manage', 'c'=>'AdminMobileAdmin', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_mobile_admin_del', 'parentid'=>$phone, 'm'=>'Manage', 'c'=>'AdminMobileAdmin', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));

//泵站权限
$pump = $menu_db->add_menu(array('name'=>'manage_pumpstation', 'parentid'=>$parentid, 'm'=>'', 'c'=>'', 'a'=>'', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_pumpstation_map', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpStation', 'a'=>'all_view', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_pumpstation_index', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpStation', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_pumpstation_all', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpStation', 'a'=>'get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpstation_add', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpStation', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpstation_edit', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpStation', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpstation_del', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpStation', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));

//调蓄池
$csdt = $menu_db->add_menu(array('name'=>'manage_csdt', 'parentid'=>$parentid, 'm'=>'Manage', 'c'=>'AdminCsdt', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_csdt_map', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdt', 'a'=>'all_view', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_csdt_index', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdt', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_csdt_all', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdt', 'a'=>'get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdt_add', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdt', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdt_edit', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdt', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdt_del', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdt', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));

//河道闸门
$gate = $menu_db->add_menu(array('name'=>'manage_gate', 'parentid'=>$parentid, 'm'=>'', 'c'=>'', 'a'=>'', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_gate_map', 'parentid'=>$gate, 'm'=>'Manage', 'c'=>'AdminGate', 'a'=>'all_view', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_gate_index', 'parentid'=>$gate, 'm'=>'Manage', 'c'=>'AdminGate', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_gate_all', 'parentid'=>$gate, 'm'=>'Manage', 'c'=>'AdminGate', 'a'=>'get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_gate_add', 'parentid'=>$gate, 'm'=>'Manage', 'c'=>'AdminGate', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_gate_edit', 'parentid'=>$gate, 'm'=>'Manage', 'c'=>'AdminGate', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_gate_del', 'parentid'=>$gate, 'm'=>'Manage', 'c'=>'AdminGate', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_gatelog_index', 'parentid'=>$gate, 'm'=>'Manage', 'c'=>'AdminGate', 'a'=>'log_index', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_gatelog_all', 'parentid'=>$gate, 'm'=>'Manage', 'c'=>'AdminGate', 'a'=>'log_get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_gatelog_add', 'parentid'=>$gate, 'm'=>'Manage', 'c'=>'AdminGate', 'a'=>'log_add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_gatelog_edit', 'parentid'=>$gate, 'm'=>'Manage', 'c'=>'AdminGate', 'a'=>'log_edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_gatelog_del', 'parentid'=>$gate, 'm'=>'Manage', 'c'=>'AdminGate', 'a'=>'log_deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));


//泵站泵机
$menu_db->add_menu(array('name'=>'manage_pumppump_index', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpPump', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_pumppump_all', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpPump', 'a'=>'get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumppump_add', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpPump', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumppump_edit', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpPump', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumppump_del', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpPump', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumppumplog_index', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpPump', 'a'=>'log_index', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumppumplog_all', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpPump', 'a'=>'log_get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumppumplog_add', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpPump', 'a'=>'log_add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumppumplog_edit', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpPump', 'a'=>'log_edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumppumplog_del', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpPump', 'a'=>'log_deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));

//泵站格栅机
$menu_db->add_menu(array('name'=>'manage_pumpmac_index', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpMachine', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_pumpmac_all', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpMachine', 'a'=>'get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpmac_add', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpMachine', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpmac_edit', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpMachine', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpmac_del', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpMachine', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpmaclog_index', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpMachine', 'a'=>'log_index', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpmaclog_all', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpMachine', 'a'=>'log_get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpmaclog_add', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpMachine', 'a'=>'log_add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpmaclog_edit', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpMachine', 'a'=>'log_edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpmaclog_del', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpMachine', 'a'=>'log_deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));

//泵站水电表
$menu_db->add_menu(array('name'=>'manage_pumpele_index', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpWaterele', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_pumpele_all', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpWaterele', 'a'=>'get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpele_add', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpWaterele', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpele_edit', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpWaterele', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpele_del', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpWaterele', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpelelog_index', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpWaterele', 'a'=>'log_index', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpelelog_all', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpWaterele', 'a'=>'log_get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpelelog_add', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpWaterele', 'a'=>'log_add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpelelog_edit', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpWaterele', 'a'=>'log_edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_pumpelelog_del', 'parentid'=>$pump, 'm'=>'Manage', 'c'=>'AdminPumpWaterele', 'a'=>'log_deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));

//调蓄池泵机
$menu_db->add_menu(array('name'=>'manage_csdtpump_index', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtPump', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_csdtpump_all', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtPump', 'a'=>'get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtpump_add', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtPump', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtpump_edit', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtPump', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtpump_del', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtPump', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtpumplog_index', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtPump', 'a'=>'log_index', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtpumplog_all', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtPump', 'a'=>'log_get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtpumplog_add', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtPump', 'a'=>'log_add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtpumplog_edit', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtPump', 'a'=>'log_edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtpumplog_del', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtPump', 'a'=>'log_deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));

//调蓄池格栅机
$menu_db->add_menu(array('name'=>'manage_csdtmac_index', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtMachine', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_csdtmac_all', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtMachine', 'a'=>'get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtmac_add', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtMachine', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtmac_edit', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtMachine', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtmac_del', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtMachine', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtmaclog_index', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtMachine', 'a'=>'log_index', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtmaclog_all', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtMachine', 'a'=>'log_get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtmaclog_add', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtMachine', 'a'=>'log_add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtmaclog_edit', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtMachine', 'a'=>'log_edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtmaclog_del', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtMachine', 'a'=>'log_deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));

//调蓄池水电表
$menu_db->add_menu(array('name'=>'manage_csdtele_index', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtWaterele', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_csdtele_all', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtWaterele', 'a'=>'get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtele_add', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtWaterele', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtele_edit', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtWaterele', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtele_del', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtWaterele', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtelelog_index', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtWaterele', 'a'=>'log_index', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtelelog_all', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtWaterele', 'a'=>'log_get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtelelog_add', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtWaterele', 'a'=>'log_add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtelelog_edit', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtWaterele', 'a'=>'log_edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtelelog_del', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtWaterele', 'a'=>'log_deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));

//调蓄池闸门
$menu_db->add_menu(array('name'=>'manage_csdtgate_index', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtGate', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_csdtgate_all', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtGate', 'a'=>'get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtgate_add', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtGate', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtgate_edit', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtGate', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtgate_del', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtGate', 'a'=>'deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtgatelog_index', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtGate', 'a'=>'log_index', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtgatelog_all', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtGate', 'a'=>'log_get_all', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtgatelog_add', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtGate', 'a'=>'log_add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtgatelog_edit', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtGate', 'a'=>'log_edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'manage_csdtgatelog_del', 'parentid'=>$csdt, 'm'=>'Manage', 'c'=>'AdminCsdtGate', 'a'=>'log_deleteArray', 'data'=>'', 'listorder'=>0, 'display'=>'0'));

//导出报表
$export = $menu_db->add_menu(array('name'=>'manage_export', 'parentid'=>$parentid, 'm'=>'', 'c'=>'', 'a'=>'', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_export_html', 'parentid'=>$export, 'm'=>'Manage', 'c'=>'Index', 'a'=>'export_count', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'manage_export_count', 'parentid'=>$export, 'm'=>'Manage', 'c'=>'Export', 'a'=>'export_excel', 'data'=>'', 'listorder'=>0, 'display'=>'0'));


//
$language = array(
    'manage' => '综合管理',
    'manage_view_all' => '全局地图预览',
    'manage_mobile_admin' => '移动端管理',
    'manage_mobile_admin_index' => '移动端管理人员',
    'manage_mobile_admin_all' => '移动端管理人员列表请求',
    'manage_mobile_admin_add' => '新增移动端人员',
    'manage_mobile_admin_edit' => '编辑移动端人员',
    'manage_mobile_admin_del' => '删除移动端人员',

    'manage_pumpstation' => '泵站',
    'manage_pumpstation_map' => '地图查看',
    'manage_pumpstation_index' => '泵站',
    'manage_pumpstation_all' => '泵站列表请求',
    'manage_pumpstation_add' => '新增泵站',
    'manage_pumpstation_edit' => '编辑泵站',
    'manage_pumpstation_del' => '删除泵站',

    'manage_csdt' => '调蓄池',
    'manage_csdt_map' => '地图查看',
    'manage_csdt_index' => '调蓄池',
    'manage_csdt_all' => '调蓄池列表请求',
    'manage_csdt_add' => '新增调蓄池',
    'manage_csdt_edit' => '编辑调蓄池',
    'manage_csdt_del' => '删除调蓄池',

    'manage_gate' => '河道闸门',
    'manage_gate_map' => '地图查看',
    'manage_gate_index' => '河道闸门',
    'manage_gate_all' => '河道闸门列表请求',
    'manage_gate_add' => '新增河道闸门',
    'manage_gate_edit' => '编辑河道闸门',
    'manage_gate_del' => '删除河道闸门',
    'manage_gatelog_index' => '河道闸门运行记录',
    'manage_gatelog_all' => '河道闸门运行记录列表请求',
    'manage_gatelog_add' => '新增河道闸门运行记录',
    'manage_gatelog_edit' => '编辑河道闸门运行记录',
    'manage_gatelog_del' => '删除河道闸门运行记录',

    //泵站泵机
    'manage_pumppump_index' => '泵机',
    'manage_pumppump_all' => '泵站泵机列表请求',
    'manage_pumppump_add' => '新增泵站泵机',
    'manage_pumppump_edit' => '编辑泵站泵机',
    'manage_pumppump_del' => '删除泵站泵机',
    'manage_pumppumplog_index' => '泵站泵机运行记录',
    'manage_pumppumplog_all' => '泵站泵机运行记录列表请求',
    'manage_pumppumplog_add' => '新增泵站泵机运行记录',
    'manage_pumppumplog_edit' => '编辑泵站泵机运行记录',
    'manage_pumppumplog_del' => '删除泵站泵机运行记录',

    //泵站格栅机
    'manage_pumpmac_index' => '格栅机',
    'manage_pumpmac_all' => '泵站格栅机列表请求',
    'manage_pumpmac_add' => '新增泵站格栅机',
    'manage_pumpmac_edit' => '编辑泵站格栅机',
    'manage_pumpmac_del' => '删除泵站格栅机',
    'manage_pumpmaclog_index' => '泵站格栅机运行记录',
    'manage_pumpmaclog_all' => '泵站格栅机运行记录列表请求',
    'manage_pumpmaclog_add' => '新增泵站格栅机运行记录',
    'manage_pumpmaclog_edit' => '编辑泵站格栅机运行记录',
    'manage_pumpmaclog_del' => '删除泵站格栅机运行记录',

    //泵站水电表
    'manage_pumpele_index' => '水电表',
    'manage_pumpele_all' => '泵站水电表列表请求',
    'manage_pumpele_add' => '新增泵站水电表',
    'manage_pumpele_edit' => '编辑泵站水电表',
    'manage_pumpele_del' => '删除泵站水电表',
    'manage_pumpelelog_index' => '泵站水电表运行记录',
    'manage_pumpelelog_all' => '泵站水电表运行记录列表请求',
    'manage_pumpelelog_add' => '新增泵站水电表运行记录',
    'manage_pumpelelog_edit' => '编辑泵站水电表运行记录',
    'manage_pumpelelog_del' => '删除泵站水电表运行记录',

    //调蓄池泵机
    'manage_csdtpump_index' => '泵机',
    'manage_csdtpump_all' => '调蓄池泵机列表请求',
    'manage_csdtpump_add' => '新增调蓄池泵机',
    'manage_csdtpump_edit' => '编辑调蓄池泵机',
    'manage_csdtpump_del' => '删除调蓄池泵机',
    'manage_csdtpumplog_index' => '调蓄池泵机运行记录',
    'manage_csdtpumplog_all' => '调蓄池泵机运行记录列表请求',
    'manage_csdtpumplog_add' => '新增调蓄池泵机运行记录',
    'manage_csdtpumplog_edit' => '编辑调蓄池泵机运行记录',
    'manage_csdtpumplog_del' => '删除调蓄池泵机运行记录',

    //调蓄池格栅机
    'manage_csdtmac_index' => '格栅机',
    'manage_csdtmac_all' => '调蓄池格栅机列表请求',
    'manage_csdtmac_add' => '新增调蓄池格栅机',
    'manage_csdtmac_edit' => '编辑调蓄池格栅机',
    'manage_csdtmac_del' => '删除调蓄池格栅机',
    'manage_csdtmaclog_index' => '调蓄池格栅机运行记录',
    'manage_csdtmaclog_all' => '调蓄池格栅机运行记录列表请求',
    'manage_csdtmaclog_add' => '新增调蓄池格栅机运行记录',
    'manage_csdtmaclog_edit' => '编辑调蓄池格栅机运行记录',
    'manage_csdtmaclog_del' => '删除调蓄池格栅机运行记录',

    //调蓄池水电表
    'manage_csdtele_index' => '水电表',
    'manage_csdtele_all' => '调蓄池水电表列表请求',
    'manage_csdtele_add' => '新增调蓄池水电表',
    'manage_csdtele_edit' => '编辑调蓄池水电表',
    'manage_csdtele_del' => '删除调蓄池水电表',
    'manage_csdtelelog_index' => '调蓄池水电表运行记录',
    'manage_csdtelelog_all' => '调蓄池水电表运行记录列表请求',
    'manage_csdtelelog_add' => '新增调蓄池水电表运行记录',
    'manage_csdtelelog_edit' => '编辑调蓄池水电表运行记录',
    'manage_csdtelelog_del' => '删除调蓄池水电表运行记录',

    //调蓄池闸门
    'manage_csdtgate_index' => '闸门',
    'manage_csdtgate_all' => '调蓄池闸门列表请求',
    'manage_csdtgate_add' => '新增调蓄池闸门',
    'manage_csdtgate_edit' => '编辑调蓄池闸门',
    'manage_csdtgate_del' => '删除调蓄池闸门',
    'manage_csdtgatelog_index' => '调蓄池闸门运行记录',
    'manage_csdtgatelog_all' => '调蓄池闸门运行记录列表请求',
    'manage_csdtgatelog_add' => '新增调蓄池闸门运行记录',
    'manage_csdtgatelog_edit' => '编辑调蓄池闸门运行记录',
    'manage_csdtgatelog_del' => '删除调蓄池闸门运行记录',

    //导出报表
    'manage_export' => '导出报表',
    'manage_export_html' => '汇总报表',
    'manage_export_count' => '导出汇总报表',
    'manage_export_day' => '导出日报表',
    'manage_export_month' => '导出月报表',
    'manage_export_week' => '导出周报表',

);
?>